import http from '@/api/index'
export function login(data) {
  return http.request({
    url: `/admin/auth/jwtLogin`,
    method: 'POST',
    data: data
  })
}
// 退出
export function loginOut() {
  return http.request({
    url: `/admin/auth/jwtLogin`,
    method: 'GET'
  })
}
